Trisect the given segment.

If the applet does not load automatically, use the following command

appletviewer